package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ruoyi.system.mapper.AProcessLogMapper;
import com.ruoyi.system.domain.AProcessLog;
import com.ruoyi.system.service.IAProcessLogService;




/**
 * 业务流程日志Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-04-02
 */
@Service
public class AProcessLogServiceImpl implements IAProcessLogService 
{
    @Autowired
    private AProcessLogMapper aProcessLogMapper;

    /**
     * 查询业务流程日志
     * 
     * @param logId 业务流程日志主键
     * @return 业务流程日志
     */
    @Override
    public AProcessLog selectAProcessLogByLogId(Long logId)
    {
        return aProcessLogMapper.selectAProcessLogByLogId(logId);
    }

    /**
     * 查询业务流程日志列表
     * 
     * @param aProcessLog 业务流程日志
     * @return 业务流程日志
     */
    @Override
    public List<AProcessLog> selectAProcessLogList(AProcessLog aProcessLog)
    {
        return aProcessLogMapper.selectAProcessLogList(aProcessLog);
    }

    /**
     * 新增业务流程日志
     * 
     * @param aProcessLog 业务流程日志
     * @return 结果
     */
    @Override
    public int insertAProcessLog(AProcessLog aProcessLog)
    {
        return aProcessLogMapper.insertAProcessLog(aProcessLog);
    }

    /**
     * 修改业务流程日志
     * 
     * @param aProcessLog 业务流程日志
     * @return 结果
     */
    @Override
    public int updateAProcessLog(AProcessLog aProcessLog)
    {
        return aProcessLogMapper.updateAProcessLog(aProcessLog);
    }

    /**
     * 批量删除业务流程日志
     * 
     * @param logIds 需要删除的业务流程日志主键
     * @return 结果
     */
    @Override
    public int deleteAProcessLogByLogIds(Long[] logIds)
    {
        return aProcessLogMapper.deleteAProcessLogByLogIds(logIds);
    }

    /**
     * 删除业务流程日志信息
     * 
     * @param logId 业务流程日志主键
     * @return 结果
     */
    @Override
    public int deleteAProcessLogByLogId(Long logId)
    {
        return aProcessLogMapper.deleteAProcessLogByLogId(logId);
    }
}
